package lab02.test16;

/**
 * Created by lenovo on 2017/10/20.
 */
public class Plus extends Calculate {
    double value1;
    double value2;

    Plus() {
    }

    public Plus(double value1, double value2) {
        this.value1 = value1;
        this.value2 = value2;
    }

    @Override
    public double calculate(double value1, double valve2) {
        return value1 + valve2;
    }
}
